package com.cloudkinto.service.user.vo;

import freemarker.template.TemplateModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author zhangyy
 * @date 2020/4/18 16:58
 * @description:
 */
@Data
@ApiModel
public class UserUpdateReq  implements Serializable {
    @ApiModelProperty("id")
    private Long id;

    private Integer isBinding;

    @ApiModelProperty("邮箱")
    private String userMail;

    @ApiModelProperty("电话")
    @NotBlank(message = "pls.input.phone")
    private String userPhone;

    //头像
    @ApiModelProperty("头像")
    private Long headFileId;


}
